import { instance as request } from "@/utils";

/**
 * 脚本列表
 * @param {*} data
 * @returns
 */
export async function scriptListApi(data) {
    return request({
        url: "/API/ScriptData",
        method: "post",
        data,
    });
}

/**
 * 脚本运行
 * @param {*} data
 * @returns
 */
export async function scriptRunApi(data) {
    return request({
        url: "/Script/run",
        method: "post",
        data,
    });
}


